<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<h3>Inserisci un Post</h3>
<form name="postForm" action="./private/AddPost" method="POST">
Titolo: <input type="text" name="titlePost" size="70" value="" class="textinput" />
<br>
Categoria: <select name="postCategory" class="textinput">
				<c:forEach var="cat" items="${postCategoryList}" varStatus="status">
					<option value="${cat.id}">
						<c:out value="${cat.name}" />
					</option>
				</c:forEach>
		</select>
<br>Post:<br><textarea name="contentPost"></textarea>
<input type="hidden" value="<c:out value="${blog.blogID}"/>"name="blogID"/>
<input type="hidden" value="" name="imgURL"/>
<br><input class="submit" type="submit" value="Aggiungi Post"><small>Press ESC to close</small>

</form>